package com.netposa.datawarehouse.statistics.vo;

import java.beans.ConstructorProperties;

public class HomeVehicleCount {
   private String plateNumber;
   private Long time;
   private String img;
   private String featureImage;

   public HomeVehicleCount(String plateNumber, Long time, String img) {
      this.plateNumber = plateNumber;
      this.time = time;
      this.img = img;
   }

   public String getPlateNumber() {
      return this.plateNumber;
   }

   public Long getTime() {
      return this.time;
   }

   public String getImg() {
      return this.img;
   }

   public String getFeatureImage() {
      return this.featureImage;
   }

   public void setPlateNumber(String plateNumber) {
      this.plateNumber = plateNumber;
   }

   public void setTime(Long time) {
      this.time = time;
   }

   public void setImg(String img) {
      this.img = img;
   }

   public void setFeatureImage(String featureImage) {
      this.featureImage = featureImage;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof HomeVehicleCount)) {
         return false;
      } else {
         HomeVehicleCount other = (HomeVehicleCount)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label59: {
               Object this$plateNumber = this.getPlateNumber();
               Object other$plateNumber = other.getPlateNumber();
               if (this$plateNumber == null) {
                  if (other$plateNumber == null) {
                     break label59;
                  }
               } else if (this$plateNumber.equals(other$plateNumber)) {
                  break label59;
               }

               return false;
            }

            Object this$time = this.getTime();
            Object other$time = other.getTime();
            if (this$time == null) {
               if (other$time != null) {
                  return false;
               }
            } else if (!this$time.equals(other$time)) {
               return false;
            }

            Object this$img = this.getImg();
            Object other$img = other.getImg();
            if (this$img == null) {
               if (other$img != null) {
                  return false;
               }
            } else if (!this$img.equals(other$img)) {
               return false;
            }

            Object this$featureImage = this.getFeatureImage();
            Object other$featureImage = other.getFeatureImage();
            if (this$featureImage == null) {
               if (other$featureImage != null) {
                  return false;
               }
            } else if (!this$featureImage.equals(other$featureImage)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof HomeVehicleCount;
   }

   public int hashCode() {
      
      int result = 1;
      Object $plateNumber = this.getPlateNumber();
      result = result * 59 + ($plateNumber == null ? 43 : $plateNumber.hashCode());
      Object $time = this.getTime();
      result = result * 59 + ($time == null ? 43 : $time.hashCode());
      Object $img = this.getImg();
      result = result * 59 + ($img == null ? 43 : $img.hashCode());
      Object $featureImage = this.getFeatureImage();
      result = result * 59 + ($featureImage == null ? 43 : $featureImage.hashCode());
      return result;
   }

   public String toString() {
      return "HomeVehicleCount(plateNumber=" + this.getPlateNumber() + ", time=" + this.getTime() + ", img=" + this.getImg() + ", featureImage=" + this.getFeatureImage() + ")";
   }

   @ConstructorProperties({"plateNumber", "time", "img", "featureImage"})
   public HomeVehicleCount(String plateNumber, Long time, String img, String featureImage) {
      this.plateNumber = plateNumber;
      this.time = time;
      this.img = img;
      this.featureImage = featureImage;
   }

   public HomeVehicleCount() {
   }
}
